﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using KPIS.GERP.GHRMS.MODEL;

namespace KPIS.GERP.GHRMS.IDAL
{
    public interface IJobSiteCommandDAL
    {
        DataTable SelectJobsiteCommandDtls(string job_site_seq);
        DataRow Select(string job_site_cmd_seq);

        void Insert(string cmd_draft_no, string cmd_ref_no, string cmd_descr
            , string cmd_status, string job_site_type, string approved_by, string approved_name
            , string approved_date, string approved_positions, string record_status, string created_by);

        void Update(string job_site_cmd_seq, string cmd_draft_no, string cmd_ref_no
            , string cmd_descr, string cmd_status, string job_site_type, string approved_by
            , string approved_name, string approved_date, string approved_positions
            , string updated_by);

        void Delete(string job_site_cmd_seq, string updated_by);
        void Approve(string job_site_cmd_seq, string approved_by, string approved_name
            , string approved_date, string approved_positions, string updated_by);
        void Cancel(string job_site_cmd_seq, string updated_by);
    }
}
